package cn.ctyun.videoplayer.bean;

import java.io.Serializable;

public class VideoInfo implements Serializable {

    private String videoUrl; // 当前视频的 url
    private String startAdUrl; // 片头广告 url
    private String endAdUrl; // 片尾广告 url
    private String pauseAdUrl; // 暂停广告 url
    private String currentPosition; // 当前用户播放的时间点
    private String currentStatus; // Playing/Pause/Stop/StartAd/EndAd
    private String volume; // 当前音量
    private String speed; // 当前的倍速
    private String bufferedTimeRange;
    private String playableVideoDuration; // 播放器可以播放的视频时间

    public String getVideoUrl() {
        return videoUrl;
    }

    public void setVideoUrl(String videoUrl) {
        this.videoUrl = videoUrl;
    }

    public String getStartAdUrl() {
        return startAdUrl;
    }

    public void setStartAdUrl(String startAdUrl) {
        this.startAdUrl = startAdUrl;
    }

    public String getEndAdUrl() {
        return endAdUrl;
    }

    public void setEndAdUrl(String endAdUrl) {
        this.endAdUrl = endAdUrl;
    }

    public String getPauseAdUrl() {
        return pauseAdUrl;
    }

    public void setPauseAdUrl(String pauseAdUrl) {
        this.pauseAdUrl = pauseAdUrl;
    }

    public String getCurrentPosition() {
        return currentPosition;
    }

    public void setCurrentPosition(String currentPosition) {
        this.currentPosition = currentPosition;
    }

    public String getCurrentStatus() {
        return currentStatus;
    }

    public void setCurrentStatus(String currentStatus) {
        this.currentStatus = currentStatus;
    }

    public String getVolume() {
        return volume;
    }

    public void setVolume(String volume) {
        this.volume = volume;
    }

    public String getSpeed() {
        return speed;
    }

    public void setSpeed(String speed) {
        this.speed = speed;
    }

    public String getBufferedTimeRange() {
        return bufferedTimeRange;
    }

    public void setBufferedTimeRange(String bufferedTimeRange) {
        this.bufferedTimeRange = bufferedTimeRange;
    }

    public String getPlayableVideoDuration() {
        return playableVideoDuration;
    }

    public void setPlayableVideoDuration(String playableVideoDuration) {
        this.playableVideoDuration = playableVideoDuration;
    }

    @Override
    public String toString() {
        return "videoUrl : " + videoUrl + ", startAdUrl : " + startAdUrl + ", endAdUrl : " + endAdUrl
                + ", pauseAdUrl : " + pauseAdUrl + ", currentPosition : " + currentPosition + ", currentStatus : " + currentStatus
                + ", volume : " + volume + ", speed : " + speed + ", bufferedTimeRange : " + bufferedTimeRange + ", playableVideoDuration : " + playableVideoDuration;
    }

}
